//
//  BaseResponse.m
//  TLKeepCredit
//
//  Created by 张邦杨 on 16/1/5.
//  Copyright © 2016年 Zby. All rights reserved.
//

#import "BaseResponse.h"
#import "BaseModel.h"

@implementation BaseResponse

+(instancetype)modelWithDict:(NSDictionary *)dict {
    if(!dict || !dict.count){
        return nil;
    }
    id model = [self yy_modelWithDictionary:dict];
    return model;
}

@end


#pragma mark ---登录
@implementation ResLogin :BaseResponse

@end


#pragma mark ---首页banner
@implementation ResHomeBanner
// 返回容器类中的所需要存放的数据类型 (以 Class 或 Class Name 的形式)。
+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{@"data" : [TLUserModel class]};
}
@end

#pragma mark ---贷款口子
@implementation ResLoanKou
+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{@"data" : [ModelLoanKou class]};
}
@end
#pragma mark ---贷款口子详情
@implementation ResLoanKouDetail
@end

#pragma mark ---征信信用分
@implementation ResLoanScore
@end
#pragma mark ---问问 资讯
@implementation ResQueryNews
+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{@"data" : [ModelQueryNews class]};
}
@end
